package com.qls.mt.biz.common.utils;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 请求基类
 *
 * @author doyoung
 */
@Data
@Getter
@Setter
public class FxBaseApiRequest {
    /**
     * 默认值
     */
    private String accesskey = "f7350ef51c67157892a7541259bc80e6";
    // private  String accesskey = "1209558422819b87629f0f8c2d9da284";

    private String data;

    private String method;

    private int nonce;

    /**
     * 默认值
     */
    private int partnerId = 22116;
    // private int partnerId = 5173;

    private long timestamp;

    private String version;

    private String signature;

    /**
     * 默认值
     */
    @JSONField(serialize = false)
    private String secretKey = "8167bc7397861369ae23ec4c8ea48990";
    // private String secretKey = "385eacfb87b2643d46386e22fe717f45";

    public FxBaseApiRequest() {
    }

    public FxBaseApiRequest(int partnerId, String secretKey, String accesskey, String method, String data) {
        this.partnerId = partnerId;
        this.accesskey = accesskey;
        this.secretKey = secretKey;
        this.method = method;
        this.data = data;
    }
}

